package de.jmda.gen.java;

/**
 * Generator for content of <code>package.java</code> files. Sample:
 * <pre>
 * /**
 *  * sample javadoc comment
 *  *{@literal /}
 * {@literal @}SampleAnnotation1
 * {@literal @}SampleAnnotation2
 * package de.jmda.gen.java;
 * </pre>
 * {@link DeclarationGenerator#getDeclaredElementGenerator()} is expected
 * to return the result of {@link PackageStatementGenerator#generate()}.
 *
 * @author rwegner
 */
public interface CompilationUnitPackageGenerator
		extends CompilationUnitGenerator, DeclarationGenerator
{
	DeclaredPackageGenerator getDeclaredPackageGenerator();
	void setDeclaredPackageGenerator(DeclaredPackageGenerator generator);
}